package com.kangyi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("guests_staying")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GuestsStaying implements Serializable {

    //(0审核中,1通过,2拒绝,3已搬出/未入住)
    public static final Integer UNDER_REVIEW = 0;
    public static final Integer APPROVED = 1;
    public static final Integer REJECTED = 2;
    public static final Integer NO_SHOW = 3;

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String name;

    private String age;

    private Integer gender;

    private String phone;

    private String image;

    private LocalDate birthday;

    private String idCard;

    private Integer relation;

    private String urgentName;

    private String urgentPhone;

    private Integer nursingHomeId;

    private Integer roomFeeId;

    private Integer foodFeeId;

    private Integer specialFeeId;

    private Integer status;

    private LocalDate checkInTime;

    private String allergy;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer createUser;

    private Integer updateUser;


}
